import { AddFormatFunc, interfaceRuleType } from "../types";

AddFormatFunc<interfaceRuleType>({

	type: "INTERFACE",

	handle: (rule, FMC) => {
		return `interface${rule[1].length === 0 ? "" : ` ${FMC(rule[1])}`}${FMC(rule[2])}${FMC(rule[3])}`;
	},

})
